#ifndef ZPACKAGEMGRWIDGET_H
#define ZPACKAGEMGRWIDGET_H

#include <QWidget>
#include "ui_ZPackageMgrWidget.h"
#include "..\..\ZWuliuSvr\DBOpt\ZDBWuliuPackage.h"

class ZPackageMgrWidget : public QDialog
{
	Q_OBJECT
private:
	enum
	{
		SelCol = 1
	};

public:
	explicit ZPackageMgrWidget(bool bLocalMode, QWidget *parent = 0);
	~ZPackageMgrWidget();

private slots:
	void _onSearch_QianshouWanbi(bool bChecked);
	void _onSearch_ShouhuoWanbi(bool bChecked);
	void _onPrint(bool bChecked);

private:
	void _reloadTable();

private:
	Ui::ZPackageMgrWidget			ui;
	std::vector<ZDBWuliuPackage>	m_vecTmpData;
	bool							m_bLocalMode;
};

#endif // ZPACKAGEMGRWIDGET_H
